package com.yang.core;

import com.zhy.base.redis.config.EnableRedisConfiguration;
import lombok.extern.slf4j.Slf4j;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.transaction.annotation.EnableTransactionManagement;

@EnableDiscoveryClient
@EnableTransactionManagement
@ComponentScan({"com.zhy", "com.yang"})
@Slf4j
@EnableRedisConfiguration
@SpringBootApplication
public class QuickBuyCoreApplication {

    public static void main(String[] args) {
        SpringApplication.run(QuickBuyCoreApplication.class, args);
        log.info("                          _ooOoo_                       ");
        log.info("                         o8888888o                      ");
        log.info("                         88' . '88                      ");
        log.info("                         (| -_- |)                      ");
        log.info("                         O\\  =  /O                     ");
        log.info("                      ____/`---'\\____                  ");
        log.info("                    .'  \\\\|     |\\\\  `.             ");
        log.info("                   /  \\\\|||  :  |||\\\\  \\           ");
        log.info("                  /  _||||| -:- |||||-  \\              ");
        log.info("                  |   | \\\\\\\\  -  \\\\/ |   |        ");
        log.info("                  | \\_|  ''\\---/''  |   |             ");
        log.info("                  \\  .-\\__  `-`  ___/-. /             ");
        log.info("                ___`. .'  /--.--\\  `. . __             ");
        log.info("             .'' '<  `.___\\_<|>_/___.'  >'''.          ");
        log.info("            | | :  `- \\`.;`\\ _ /`;.`/ - ` : | |       ");
        log.info("            \\  \\ `-.   \\_ __\\ /__ _/   .-` /  /     ");
        log.info("       ======`-.____`-.___\\_____/___.-`____.-'======   ");
        log.info("                          `=---='                       ");
        log.info("                      佛祖保佑，成功启动                  ");
        log.info("      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^     ");
    }
}
